yui compressor

  • 网络YUI压缩机;压缩工具;YUI压缩器
yui compressoryui compressor
  1. After downloading YUI Compressor , extract the file to a location that will be easy to access .

    下载YUICompressor,然后提取文件,放置到一个容易访问的位置。

  2. My personal favorite is the YUI Compressor from Yahoo ! ® Inc. For more information on these tools , see Resources .

    我个人最喜欢的是Yahoo!®Inc的YUICompressor。关于这些工具的更多信息,见参考资料。

  3. The JAR file for YUI Compressor is self-contained , so you can copy the file into a different project and execute it by typing the following command

    YUICompressor的JAR文件是自带的,您可以将该文件复制到别的项目,通过输入以下命令来执行

  4. You can also integrate YUI Compressor with an IDE , such as Eclipse , so that the build behavior automatically generates a compressed file for you .

    您也可将YUICompressor和IDE整合,比如Eclipse,这样构建行为可以自动为您生成一个压缩文件。

  5. Unless you use the & nomunge option with the YUI Compressor command , YUI Compressor automatically shortens the names of the variables inside your JavaScript functions .

    除非您使用YUICompressor命令的&nomunge选项,否则YUICompressor将自动缩短JavaScript文件中的变量名。

  6. YUI Compressor can minify ( compress ) your CSS and JavaScript code so that you can reap the benefits of smaller resources without having to write your own tools .

    YUICompressor可以缩小(压缩)您的CSS和JavaScript代码,这样您无需自己编写工具就可以享受小资源带来的益处了。